package city.spring.service.estimate.impl;

import city.spring.domain.entity.estimate.EstimateOptionEntity;
import city.spring.repository.estimate.EstimateOptionRepository;
import city.spring.service.estimate.EstimateOptionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EstimateOptionServiceImpl extends ServiceImpl<EstimateOptionRepository, EstimateOptionEntity> implements EstimateOptionService {

    @Override
    public List<EstimateOptionEntity> getOptionsByProject(String projectId) {
        return baseMapper.getOptionsByProject(projectId);
    }

}
